package com.ruoyi.edge.gateway.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;
import com.ruoyi.edge.gateway.domain.CollectSource;

import java.util.List;

/**
 * 采集数据源
 */
public interface CollectSourceService {

    TableDataInfo<CollectSource> listPage(CollectSource collectSource, PageQuery pageQuery);

    R<List<CollectSource>> list(CollectSource collectSource);

    R<CollectSource> get(String id);

    R<String> add(CollectSource collectSource);

    R<String> edit(CollectSource collectSource);

    R<String> remove(String id);

}
